package com.qf.SUSECRM.dto;

public class UserDto {
    private Integer num;
    private String name;
    private String hobby;

    public UserDto() {
    }

    public UserDto(Integer num, String name, String hobby) {
        this.num = num;
        this.name = name;
        this.hobby = hobby;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    @Override
    public String toString() {
        return "UserDto{" +
                "num=" + num +
                ", name='" + name + '\'' +
                ", hobby='" + hobby + '\'' +
                '}';
    }
}
